#include "path_manager.h"

namespace ai_sim {

// return <added_change_set_, removed_change_set_>
ChangeSet PathManager::GetChangeSet(DeviceId device_id) {
    ChangeSet change_set;
    change_set.config_to_add = added_change_set_[device_id];
    change_set.config_to_remove = removed_change_set_[device_id];
    added_change_set_[device_id].clear();
    removed_change_set_[device_id].clear();
    return change_set;
}

}  // namespace ai_sim
